$.fn.isExist = function(){
	return jQuery(this).length > 0;
}

String.prototype.isLastString = function (s) {
	return this.lastIndexOf(s)==(this.length-s.length);
};